package org.example.springsecurity0317.mapper;

import org.apache.ibatis.annotations.Select;
import org.example.springsecurity0317.domain.User;

import java.util.List;

public interface UserMapper {
    @Select("select * from t_user where name =#{name}")
    public User findByName(String username);

    public User findUserByName(String name);
}
